
 
 D C . l o a d ( s t r i n g P a t h ,   o b j e c t D a t a ,   f u n c t i o n S u c c e s s ( d o m E l e m e n t T o I n s e r t ,   p r o m i s e O b j e c t ) ) 
 
 
 
 D e s c r i p t i o n :   P e r f o r m s   a   s p e c i a l i z e d   F e t c h   A P I   c a l l   t o   l o a d   e x t e r n a l   c o n t e n t   i n t o   D C . c o n t a i n e r . 
 
 
 
 R e t u r n s :   D C   O b j e c t . 
 
 
 
 N o t e :   T h e   o b j e c t D a t a   s e t t i n g   m a y   b e   u s e d   t o   c u s t o m i z e   t h e   F e t c h   A P I   f u n c t i o n a l i t y ,   a s   d o c u m e n t e d   w i t h i n   " H e l p / $ A   A P I / F e t c h   A P I / g e t " . 
 
 
 
 E x a m p l e : 
 
 
 
 / /   L o a d   c o n t e n t   f r o m   a n   e x t e r n a l   r e s o u r c e   i n t o   D C . c o n t a i n e r . 
 
 D C . l o a d ( " p a t h / s r c / r e s o u r c e . h t m l " ,   { 
 
     s e l e c t o r :   " # c o n t e n t - s e c t i o n "   / /   E x t r a c t s   t h e   e x t e r n a l   e l e m e n t   w i t h   i d = " c o n t e n t - s e c t i o n " 
 
 } ) ; 
 
 
 
 / /   L o a d   c o n t e n t   f r o m   a n   e x t e r n a l   r e s o u r c e   i n t o   D C . c o n t a i n e r   a n d   e x i c u t e   a   c a l l b a c k   w h e n   c o m p l e t e . 
 
 D C . l o a d ( " p a t h / s r c / r e s o u r c e . h t m l " ,   { 
 
     s e l e c t o r :   " # w i d g e t "   / /   E x t r a c t s   t h e   e x t e r n a l   e l e m e n t   w i t h   i d = " w i d g e t " 
 
 } , 
 
 f u n c t i o n ( d o m W i d g e t E l e m e n t )   { 
 
     / /   D o   s o m e t h i n g   w i t h   d o m W i d g e t E l e m e n t 
 
 } ) ; 
 
 